package com.cqrcb.cloud.service.quota;

import com.cqrcb.cloud.entity.api.req.RequestHeader;
import com.cqrcb.cloud.entity.quota.CustomerMultiQuotaCtrlDetail;
import com.cqrcb.cloud.entity.quota.MultiQuotaLog;
import com.cqrcb.cloud.entity.quota.io.base.QuotaBaseIO;

import java.util.List;

/**
* MultiQuotaLogService
*
* @author yangxueyong
* @date 2021-06-01 11:25:18
*/
public interface MultiQuotaLogService {
    /**
     * 插入数据库记录（建议使用）
     * @param record
     */
    int insert(MultiQuotaLog record);

    /**
     * 修改数据(推荐使用)
     * @param record
     */
    int updateByPrimaryKeySelective(MultiQuotaLog record);

    MultiQuotaLog buildMainLogAndSaveDB(RequestHeader header , String type, QuotaBaseIO baseIO, Object beforeObj);

    void updateMultiQuotaLog(MultiQuotaLog log, Object t, int status, String statusDesc);
}
